#include <gtest/gtest.h>
#include <numeric>
#include <vector>
#include <algorithm_set/distance.h>

// 测试集为 MyTest，测试案例为 Sum
TEST(MyTest, Distance1)
{
    float res = algorithm_set::CalculatingDistanceByAverageSpeed(10, 20, 10, 0, 0);
    EXPECT_EQ(res, 1);
}

int main(int argc, char *argv[])
{
    ::testing::InitGoogleTest(&argc, argv);
    return RUN_ALL_TESTS();
}
